
module.exports = app => {
  const { router, controller } = app;

  router.get('/', controller.home.index);
  // //登录
  // router.post('/api/login', controller.home.login)
  //获取后端数据
  router.post('/api/getList', controller.home.getList)
  //买房筛选
  router.post('/api/screening3', controller.home.screening3);
  router.post('/api/screening4', controller.home.screening4);
  router.post('/api/screening1', controller.home.screening1);
  //详情
  router.post('/api/detail', controller.home.detail)
};
